//
// Created by inter on 19-10-17.
//

#ifndef AUTHENTICATION_GPU_INFO_H
#define AUTHENTICATION_GPU_INFO_H

#include <string>
#include <vector>

using namespace std;

struct GPUI_Info {
    unsigned int gpu_count = 0;
    string board_serial = "";
    vector<vector<string>> gpu_list;
};


class GPUInfo {

public:

    static bool init();

    static bool shunDown();

    static bool getInformation(GPUI_Info& info);

    static bool getGPUCount(unsigned int& count);

    static bool getGPUBName(unsigned int index, string& name, string& uuid);

};


#endif //AUTHENTICATION_GPU_INFO_H
